package com.study.basetype.entity.common;

import java.util.Map;

/**
 * @author flwu
 * @date 2020/3/21 8:51 PM
 * @MOTTO 保持空杯和敬畏
 */
public class ResultEntity {

    private Integer code;
    private String message;
    private String body;
    private Map<String, String> header;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public Map<String, String> getHeader() {
        return header;
    }

    public void setHeader(Map<String, String> header) {
        this.header = header;
    }

    @Override
    public String toString() {
        return "ResultEntity{" +
                "code='" + code + '\'' +
                ", message='" + message + '\'' +
                ", body='" + body + '\'' +
                ", header=" + header +
                '}';
    }
}
